The WindowsDir Function is a simple utility type function that returns a string value representing the machine's Windows Directory. Because Windows does not always reside in a folder named Windows.
Usage:
Dim WinPath As String
WinPath = Reg.WindowsDir
(c)1998 Silicon Prairie Software Co. All rights reserved.